package com.yyhouc.controller;

import com.yyhouc.service.api.UserService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class oauth {
//    @Autowired
//    UserService userService;
    @org.apache.dubbo.config.annotation.Reference
    UserService userService;
    @RequestMapping("/f/get")
    public String get(Integer id){
        return userService.getByid(id);
    }
}
